app.config(function($stateProvider,$urlRouterProvider){
	$stateProvider.state("main",{
		url:"/main",
		templateUrl:"html/main.html",
		controller:"myCtrl1"
	}).state("fenlei",{
		url:"/fenlei",
		templateUrl:"html/fenlei.html",
		controller:"fenleiCtrl"
	}).state("my",{
		url:"/my",
		templateUrl:"html/my.html"
	}).state("main.a",{
		url:"/main.a",
		templateUrl:"html/main_a.html",
		controller:"myCtrl_a"
	}).state("main.b",{
		url:"/main.b",
		templateUrl:'html/main_b.html',
		controller:"myCtrl_b"
	}).state("my.a",{
		url:"/my.a",
		templateUrl:'html/my_a.html'
	}).state("my.b",{
		url:"/my.b",
		templateUrl:'html/my_b.html'
	})
	$urlRouterProvider.otherwise("main/main.a")
})